#ifndef __ATTRACTFIELD_H__
#define __ATTRACTFIELD_H__

#include "vectorfield.h"
class AttractiveField :
	public VectorField
{
private:
	Vector2 _loc;
public:
	AttractiveField(Vector2 & loc) : _loc(loc) {}
	AttractiveField(VectorField & field, Vector2 & loc)
		: VectorField(field), _loc(loc) {
	}

	~AttractiveField(void);

	Vector2 get_trajectory(Vector2 & tank_loc);
};

#endif
